package com.cms.admin.service.privilege;

import java.util.List;

import com.cms.admin.model.PageBean;
import com.cms.admin.model.UserRole;
import com.cms.admin.model.UserRoleExt;
import com.cms.admin.model.UserList;
import com.cms.admin.model.UserListExt;

public interface UserRoleService {
      
	
	List<UserRole> getAllRoleByPage(PageBean page ,UserRoleExt search);


	List<UserRole> getAllRole();
	
	int getRowCount(UserRoleExt search);
	
	int insertRole(UserRole role);
	
	UserRole getRoleById(String id);
	
	int updateRole(UserRole role);
	
	int deleteRole(String  roleid);
}
